//
//  NovelCategoryCell.m
//  JianChaRiBao
//
//  Created by yuzhou on 13-5-27.
//  Copyright (c) 2013年 wzyk. All rights reserved.
//

#import "NovelCategoryCell.h"
#import "NovelCategoryView.h"

@interface NovelCategoryCell ()
{
    NovelCategoryView *novelCategoryView;
}
@end

@implementation NovelCategoryCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        //        self.bounds = CGRectMake(0, 0, 320, 155);
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        novelCategoryView = [[[NSBundle mainBundle] loadNibNamed:@"NovelCategoryView" owner:self options:nil] objectAtIndex:0];
        [self.contentView addSubview:novelCategoryView];
    }
    return self;
}

- (void)setCategory:(NSDictionary *)category
{
    novelCategoryView.category = category;
}

@end
